#ifndef GENERICDATAWINDOW_HPP_INCLUDED
#define GENERICDATAWINDOW_HPP_INCLUDED

#include <gtkmm.h>
#include <libglademm.h>
#include <string>
#include "principalwindow.hpp"
#include "objects.hpp"
#include "imagewindow.hpp"
#include "IRS.h"

class MainWindow;
class CustomWindow;

class DataWindow : public Objects{

    //Main window
    MainWindow *principalwindow;

    //GUI objects
    CustomWindow *window;
    Gtk::Label *label;

    public:
    //constructors
    DataWindow(string dataname,MainWindow *main);

    //destructors
    virtual ~DataWindow();

    virtual bool close(GdkEventAny *);

};

class PositionMapWindow : public DataWindow{

    PositionMap* data;

    public:


    PositionMapWindow(PositionMap* map,MainWindow *main);

    ~PositionMapWindow();

    PositionMap* getData();

};

class RCDataWindow : public DataWindow{

    RCData* data;

    public:
    RCDataWindow(RCData* data,MainWindow *main);

    ~RCDataWindow();

    RCData* getData();

};

#endif // GENERICDATAWINDOW_HPP_INCLUDED
